package com.chmingx.springcloud.utils;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * 自定义限流处理类，提供处理限流兜底方法
 */
public class CustomerBlockHandler {
    public static String handlerException(BlockException blockException) {
        return "444, 自定义blockhandler处理限流 ------- 1";
    }

    public static String handlerException2(BlockException blockException) {
        return "444, 自定义blockhandler处理限流 ------- 2";
    }
}
